package com.undsf.crawler

import com.undsf.httpclient.CachedHttpClient

/**
 * Created by Arathi on 2017/8/22.
 */
abstract class BaseCrawler() {
    var httpClient: CachedHttpClient = CachedHttpClient()

    constructor(key: String) : this() {
        httpClient = CachedHttpClient("localhost", 6379, key)
    }

    abstract fun crawl()
}
